package 反射第二遍.demo16;

/**
 * @author wql
 * @version 1.0
 * @date 2022/10/27 15:39
 */

public class Test {
    public static void main(String[] args) throws Exception{
        Class<haha> hahaClass = haha.class;

        haha haha = new haha();
        Class aClass = haha.getClass();

        Class aClass1 = Class.forName("反射第二遍.demo16.haha");

        System.out.println(hahaClass==aClass);
        System.out.println(hahaClass==aClass1);
        System.out.println(aClass==aClass1);

    }
}
class haha{

}
